import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import config from '@/store/modules/config'
import alarm from '@/store/modules/alarm'
import form from "@/store/modules/form";
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		user,
		config,
		alarm,
		form,
	},
	getters
})

export default store